<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>选择语言</title>
    <style>
        body {
            font-family: 'Arial', sans-serif;
            background-color: #f4f4f4;
            margin: 0;
            padding: 20px;
        }

        .container {
            max-width: 300px;
            margin: 50px auto;
            background-color: #fff;
            padding: 20px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }

        h1 {
            text-align: center;
            color: #333;
        }

        .form-group {
            margin-bottom: 15px;
        }

        label {
            display: block;
            margin-bottom: 5px;
        }

        select {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
        }

        button {
            width: 100%;
            padding: 10px;
            background-color: #4CAF50;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }

        button:hover {
            background-color: #45a049;
        }
    </style>
</head>

<body>
    <div class="container">
        <h1>选择语言</h1>
        <form id="languageForm">
            <div class="form-group">
                <label for="selectedLanguage">选择语言</label>
                <select id="selectedLanguage" name="selectedLanguage">
                    <option value="zh-CN">简体中文</option>
                    <option value="en-US">English</option>
                    <option value="ar-EG">العربية (埃及语)</option>
                    <option value="zh-TW">繁體字 (繁体中文)</option>
                    <option value="en-AU">Australian English (澳大利亚英语)</option>
                </select>
            </div>
            <button type="submit">OK</button>
        </form>
    </div>

    <script>
        document.getElementById('languageForm').addEventListener('submit', function (event) {
            event.preventDefault();
            var selectedLanguage = document.getElementById('selectedLanguage').value;
            alert('您选择的语言是: ' + selectedLanguage);
            // 这里可以添加根据选择的语言改变页面内容的代码
        });
    </script>
</body>

</html>